package demo.gf.datasource;

import lombok.Data;

/**
 * @author : GuoFei
 * @date : 2019/4/29 16:05
 */
@Data
class MySQLException extends BaseException{

    Integer code;
    String message;

    public MySQLException(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public MySQLException(String message) {
        this.message = message;
    }
}
